<?php
if(!defined('PATH')) exit();
if (count($query) > 0) {
?>
<table border="0" cellpadding="8" cellspacing="1" width="100%">
<tr class="head"><td><b>Possible matches for "<?=$name?>" ...</b></td></tr>
<?php
	foreach($query as $row)
	{
?>
	<tr><td><a href="<?=PATH?>/search/check/<?=urlencode(strtolower($row['name']))?>/"><?=$row['name']?></a></td></tr>
<?php
	}
?>
</table><br />
<?php
}
?>
<?=$this->archez->showMsg('<a href="' . PATH . '/search/form/">Click here</a> to go back to search form.', 'search')?>